# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

inherit eutils

DESCRIPTION="Galago feed plugin for Gaim."
HOMEPAGE="http://www.galago.info/"
SRC_URI="http://www.galago.info/files/releases/source/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls pic static"

DEPEND=">=net-im/gaim-0.80
		>=dev-libs/libgalago-0.1.0"

src_compile() {
	econf \
		$(use_enable static) \
		$(use_enable nls) \
		$(use_with pic) \
		|| die
	emake || die
}

src_install() {
	make DESTDIR=${D} install || die

	dodoc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README
}
